AddItem Method

Adds an item ComboONE control. Doesn't support named arguments.

Syntax

dbpCombo1.AddItem item, index

The AddItem method syntax has these parts:

Part

Description

 
dbpCombo1 An instance of an ComboOne control.
item Required. string expression specifying the item to add to the object.
index Optional. Integer specifying the position within the object where the new item or row is placed.

Remarks

If you supply a valid value for index, item is placed at that position within the object. If index is omitted, item is added at the proper sorted position (if the Sorted property is set to True) or to the end of the list (if Sorted is set to False).

Copyright (c) 1998 DBPro - Database Solutions for Professionals GmbH